import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
import { NoticeBar } from 'vant';
Vue.use(NoticeBar);
import { Icon } from 'vant';
Vue.use(Icon);
import { Form } from 'vant';
Vue.use(Form);
import { Field } from 'vant';
Vue.use(Field);
import { Button } from 'vant';
Vue.use(Button);
import { Toast } from 'vant';
Vue.use(Toast);
import { Col, Row } from 'vant';
Vue.use(Col);
Vue.use(Row);
import { Notify } from 'vant';
Vue.use(Notify);
import { Uploader } from 'vant';
Vue.use(Uploader);
//引入tab切换
import { Tab, Tabs } from 'vant';
Vue.use(Tab);
Vue.use(Tabs);

//自定义图标
import { Rate } from 'vant';
Vue.use(Rate);

// baiyu
import { Tabbar, TabbarItem } from 'vant';
Vue.use(Tabbar);
Vue.use(TabbarItem);
import { Search } from 'vant';
Vue.use(Search);
import { Swipe, SwipeItem } from 'vant';
Vue.use(Swipe);
Vue.use(SwipeItem);
import { Lazyload } from 'vant';
Vue.use(Lazyload);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
